gtkwindow: windows with a fixed size can shrink
authorOlivier Fourdan <ofourdan@redhat.com>
Fri, 4 Mar 2016 09:34:12 +0000 (10:34 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 4 Mar 2016 19:35:23 +0000 (14:35 -0500)
commitadcd1ce2d325c7b3bc0edc8c319bf4ab480d215b
tree1f81c8aab6861f311a4de1c38efefefd9e8a4168
parentf24ac2f5abe38f6d573c97795ad6f0aab20d7177
gtkwindow: windows with a fixed size can shrink

One important aspect of non-resizable windows that we need to preserve
is that they shrink when their content requires less size.

Previous changes to allow the default size to be applied to fixed size
windows would have prevented all fixed size windows from shrinking when
their content requires less size.

Allow shrinking for fixed-size windows unless a default size was
specified.

https://bugzilla.gnome.org/show_bug.cgi?id=762974
gtk/gtkwindow.c